﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DBLibrary.Model.pojo
{
    public class DWStation : INotifyPropertyChanged //定位基站
    {

        public event PropertyChangedEventHandler PropertyChanged = delegate { };
        private string _id;
        private string _name;
        private string _address;
        private string _type;
        private int _enabled;
        private string _areaId;
        private string _areaTypeName;
        private string _areaName;
        private DateTime updateTime;
        private string remark;

        public string Id { get => _id; set => _id = value; }
        public string Name { get => _name; set => _name = value; }
        public string Address { get => _address; set => _address = value; }
        public string Type { get => _type; set => _type = value; }
        public int Enabled { get => _enabled; set => _enabled = value; }
        public string AreaId { get => _areaId; set => _areaId = value; }
        public string AreaTypeName { get => _areaTypeName; set => _areaTypeName = value; }
        public string AreaName { get => _areaName; set => _areaName = value; }
        public DateTime UpdateTime { get => updateTime; set => updateTime = value; }
        public string Remark { get => remark;
            set
            {
                remark = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged.Invoke(this, new PropertyChangedEventArgs("Remark"));
                }
            }
        }
    }
}
    